﻿Imports DAO
Imports DTO
Public Class NhaCungCapBUS
    Public Shared Function DanhSach_ncc_DAO() As List(Of NhaCungCapDTO)
        Return NhaCungCapDAO.DanhSach_ngonngu_DAO("Select * From NhaCungCap")
    End Function

    Public Shared Function Them_Loai_BUS(ByVal ncc As NhaCungCapDTO) As String
        Return NhaCungCapDAO.Them_Loai_DAO(ncc)
    End Function
    Public Shared Function Sua_Loai_BUS(ByVal ncc As NhaCungCapDTO, ByVal MaCu As String) As String
        Return NhaCungCapDAO.Sua_Loai_DAO(ncc, MaCu)
    End Function
    Public Shared Function Xoa_Loai_BUS(ByVal ncc As NhaCungCapDTO) As String
        Return NhaCungCapDAO.Xoa_Loai_DAO(ncc)
    End Function
End Class
